﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace FilStartUps.DAL
{
    public class Member
    {
        
        public int memberidPK { get; set; }

        public string emailaddress { get; set; }

        [Column]
        public string confirmemailaddress { get; set; }

        [Column]
        public string password { get; set; }

        [Column]
        public string confirmpassword { get; set; }

        [Column]
        public bool member_flag { get; set; }

        public int roleidFK { get; set; }

        [Column]
        public DateTime datejoined { get; set; }

        [Column]
        public string validationcode { get; set; }

        [Column]
        public string secretanswer { get; set; }

        [Column]
        public string secretquestion { get; set; }

       
    }
    [Serializable]
    public class MemberList
    {
        public int memberidPK { get; set; }
        public string companyname { get; set; }
        public string emailaddress { get; set; }
    }
}